package com.project.hqshorttaxi.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "T_TaxiOrder")
public class TaxiOrder implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private Integer id;

    /**
     * 车牌号
     */
    @Column(name = "PlateNumber")
    private String plateNumber;

    /**
     * 订单开始时间
     */
    @Column(name = "BeginTime")
    private Date beginTime;

    /**
     * 订单结束时间
     */
    @Column(name = "EndTime")
    private Date endTime;

    /**
     * 订单开始经度
     */
    @Column(name = "BeginLng")
    private String beginLng;

    /**
     * 订单开始纬度
     */
    @Column(name = "BeginLat")
    private String beginLat;

    /**
     * 订单结束经度
     */
    @Column(name = "EndLng")
    private String endLng;

    /**
     * 订单结束纬度
     */
    @Column(name = "EndLat")
    private String endLat;

    /**
     * 订单里程
     */
    @Column(name = "Distance")
    private Double distance;

    /**
     * 接收时间
     */
    @Column(name = "RecieveTime")
    private Date recieveTime;

}
